package com.edu.cdp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName staff
 */
@TableName(value ="staff")
@Data
public class Staff implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "员工id")
    private Integer id;

    /**
     * 
     */
    @Schema(description = "员工姓名")
    private String name;

    /**
     * 
     */
    @Schema(description = "员工工号")
    private String jobNumber;

    /**
     * 
     */
    @Schema(description = "员工性别")
    private String sex;

    /**
     * 
     */
    @Schema(description = "员工电话号码")
    private String phone;

    /**
     * 
     */
    @Schema(description = "员工登录密码")
    private String password;
    @Schema(description = "头像路径")
    private String avatar;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}